package com.yunduansing.core.service;

import java.util.List;
import java.util.Map;

import com.yunduansing.core.commons.DbCommon;
import com.yunduansing.core.dto.Template;
import com.yunduansing.core.model.TemplateModel;
import com.yunduansing.core.utils.ResultUtil;

public interface TemplateService {
	List<Template> getButtonsByTemplateId(int id);
	Object pagination(DbCommon.Grid grid,Map<String,Object> keys);
	TemplateModel getById(int id);
	ResultUtil save(TemplateModel model);
	ResultUtil delete(List<Integer> ids);
	List<TemplateModel> getAll();
}
